package com.rundow.common.base.model.event;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.rundow.common.base.bean.point.PointValue;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.context.ApplicationEvent;

@Getter
@Setter
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PointValueEvent extends ApplicationEvent {

    private PointValue pointValue;

    public PointValueEvent(Object source,PointValue pointValue) {
        super(source);
        this.pointValue=pointValue;
    }
}
